package kgc.crm.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "kgc_crm_crm_ztnrb")
public class Ztnrb {
    /**
     * 状态内容表id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 商机的阶段工作id（对应商机状态当中的id）
     */
    @TableField(value = "sj_jdgz")
    private Integer sjJdgz;

    /**
     * 内容
     */
    @TableField(value = "zt_nr")
    private String ztNr;

    /**
     * 商机关联状态表id
     */
    @TableField(value = "sj_glzt")
    private Integer sjGlzt;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 备注
     */
    @TableField(value = "bz")
    private String bz;

    public static final String COL_ID = "id";

    public static final String COL_SJ_JDGZ = "sj_jdgz";

    public static final String COL_ZT_NR = "zt_nr";

    public static final String COL_SJ_GLZT = "sj_glzt";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_BZ = "bz";
}